var AdCode_arr = new Array();

AdCode_arr[0] = '{tmp:looplist channelid="5" count="10" selected="stick"}<li><a href="{tmp:item name="create_path"}{tmp:item name="pagename"}.html" title="{tmp:item name="title"}" target="_blank">{tmp:item name="title" expression="cut,0,12,..."}</a></li>{/tmp:looplist}';
AdCode_arr[1] = '{tmp:looplist channelid="5" count="10" selected="commend"}<li><a href="{tmp:item name="create_path"}{tmp:item name="pagename"}.html" title="{tmp:item name="title"}" target="_blank">{tmp:item name="title" expression="cut,0,12,..."}</a></li>{/tmp:looplist}';


function LoadAd() {
    if(arguments.length>0)
    {
        for(var i=0;i<arguments.length;i++)
        {
            document.getElementById(arguments[i]).innerHTML = AdCode_arr[i];
        }
    }
}
